/*
 *     This file is part of Mobile GPS Logger.
 *
 *     Mobile GPS Logger is free software: you can redistribute it and/or
 *     modify it under the terms of the GNU General Public License as
 *     published by the Free Software Foundation, either version 3 of the
 *     License, or (at your option) any later version.
 *
 *     Mobile GPS Logger is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License v3 for more details.
 *
 *     You should have received a copy of the GNU General Public License v3
 *     along with Mobile GPS Logger. If not, see <http://www.gnu.org/licenses/>.
 */

package cx.ath.skyflyer.gpslog.nmea;

/**
 *
 * @author Ahti Legonkov
 */
public interface NmeaSentenceListener {

    /**
     * This method is called by a GpsConnection object when Ground Speed
     * NMEA sentence is received from the device. The call is asynchronous.
     * @param groundSpeed
     */
    //void sentenceReceived(GroundSpeed groundSpeed);

    /**
     * This method is called by a GpsConnection object when GPS Fix Data
     * NMEA sentence is received fron the device. The call is acynchronous.
     * @param fixData
     */
    //void sentenceReceived(GpsFixData fixData);

    /**
     * This method is called by a GpsConnection object when Geographic Position
     * NMEA sentence is received from the device. The call is asynchronous.
     * @param geographicPosition
     */
    //void sentenceReceived(GeographicPosition geographicPosition);

    /**
     * This method is called when NMEA sentence that the application does not
     * know how to parse is received. It is only called when any other overload
     * cannot be called.
     * @param nmea a raw NMEA sentence.
     */
    void sentenceReceived(String nmea);
}
